package ywpt.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import ywpt.components.acegi.domain.User;


public class WorkingReportInfo implements java.io.Serializable{

	/**
	 * 工作汇报
	 */
	private static final long serialVersionUID = -5992488333806186472L;
	private Long id;//Id                   bigint               identity,
	private PeopleInfo reportUser;//Report_User          bigint               null,
	private CommonTable reportType;//Report_Type          bigint               null,
	private Date  beginDate;//Begin_Date           datetime             null,
	private Date  endDate;//End_Date             datetime             null,
	private String  workDesc;//Work_Desc            text                 null,
	private Double  finishPer;//Finish_Per           money                null,
	private String  leftProblem;//Left_Problem         text                 null,
	private int  version;//Version              int                  null,
	private Boolean  submitFlag;//Submit_Flag			bit                  null,
	private Boolean  checkFlag;//Check_Flag           bit                  null,  
	private PeopleInfo checker;
	private Boolean  deleteFlag;//Delete_Flag          bit                  null,
	private Date  createDate;//Create_Date          datetime             null,
	private User  creater;//Creater              bigint               null,
	private   Department depart;
	private Date  modifyDate;//Modify_Date          datetime             null,
	private User  modifyer;//Modifyer             bigint               null,
	
	private Set<WorkingReportDtl> workingReportDtlSet = new HashSet<WorkingReportDtl>();
	private Set<WorkReportScan> scanSet = new HashSet<WorkReportScan>();
	
	public Set<WorkReportScan> getScanSet() {
		return scanSet;
	}
	public void setScanSet(Set<WorkReportScan> scanSet) {
		this.scanSet = scanSet;
	}
	public Set<WorkingReportDtl> getWorkingReportDtlSet() {
		return workingReportDtlSet;
	}
	public void setWorkingReportDtlSet(Set<WorkingReportDtl> workingReportDtlSet) {
		this.workingReportDtlSet = workingReportDtlSet;
	}
	public WorkingReportInfo () {
		this.finishPer=0.00;
		this.checkFlag=false;
		this.deleteFlag=false;
		this.submitFlag=false;
	}
	
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public PeopleInfo getReportUser() {
		return reportUser;
	}
	public void setReportUser(PeopleInfo reportUser) {
		this.reportUser = reportUser;
	}
	public CommonTable getReportType() {
		return reportType;
	}
	public void setReportType(CommonTable reportType) {
		this.reportType = reportType;
	}
	public Date getBeginDate() {
		return beginDate;
	}
	public void setBeginDate(Date beginDate) {
		this.beginDate = beginDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public String getWorkDesc() {
		return workDesc;
	}
	public void setWorkDesc(String workDesc) {
		this.workDesc = workDesc;
	}
	public Double getFinishPer() {
		return finishPer;
	}
	public void setFinishPer(Double finishPer) {
		this.finishPer = finishPer;
	}
	public String getLeftProblem() {
		return leftProblem;
	}
	public void setLeftProblem(String leftProblem) {
		this.leftProblem = leftProblem;
	}
	public int getVersion() {
		return version;
	}
	public void setVersion(int version) {
		this.version = version;
	}
	public Boolean getSubmitFlag() {
		return submitFlag;
	}
	public void setSubmitFlag(Boolean submitFlag) {
		this.submitFlag = submitFlag;
	}
	public Boolean getCheckFlag() {
		return checkFlag;
	}
	public void setCheckFlag(Boolean checkFlag) {
		this.checkFlag = checkFlag;
	}
	public Boolean getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Boolean deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public User getCreater() {
		return creater;
	}
	public void setCreater(User creater) {
		this.creater = creater;
	}
	public Date getModifyDate() {
		return modifyDate;
	}
	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}
	public User getModifyer() {
		return modifyer;
	}
	public void setModifyer(User modifyer) {
		this.modifyer = modifyer;
	}


	public Department getDepart() {
		return depart;
	}


	public void setDepart(Department depart) {
		this.depart = depart;
	}


	public PeopleInfo getChecker() {
		return checker;
	}


	public void setChecker(PeopleInfo checker) {
		this.checker = checker;
	}
	
}
